home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1419 / 1419.xpi / chrome / content / ietabSetting.xul < prev    next >
Extensible Markup Language  |  2006-12-04  |  7KB  |  168 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://ietab/skin/" type="text/css"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://ietab/locale/ietab.dtd">
  6.  
  7. <dialog id="ietab-dialog"
  8.       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.       autosize="true"
  10.       resizable="no"
  11.       persist="screenX screenY"
  12.       buttons="accept,cancel,extra1,extra2"
  13.       onload="gIeTab.init();"
  14.       onunload="gIeTab.destory();"
  15.       ondialogaccept="gIeTab.setOptions();"
  16.       ondialogextra1="gIeTab.setOptions();"
  17.       title="&dialog.title;">
  18.  
  19.    <script type="application/x-javascript" src="chrome://ietab/content/ietabExtApp.js"/>
  20.    <script type="application/x-javascript" src="chrome://ietab/content/ietabSetting.js"/>
  21.    <script type="application/x-javascript" src="chrome://ietab/content/ietabUtils.js"/>
  22.  
  23.    <tabbox>
  24.       <tabs>
  25.          <tab label="&filter.label;"/>
  26.          <tab label="&general.label;"/>
  27.          <tab label="&context.label;"/>
  28.          <tab label="&external.label;"/>
  29.       </tabs>
  30.  
  31.       <tabpanels>
  32.          <tabpanel>
  33.             <vbox flex="1">
  34.                <hbox align="center">
  35.                   <checkbox id="filtercbx" label="&filter.enabled;"
  36.                      oncommand="gIeTab.updateDialogAllStatus();"/>
  37.                   <spacer flex="1"/>
  38.                   <button id="delbtn"
  39.                      label="&filter.button.delete;"
  40.                      disabled="true"
  41.                      oncommand="gIeTab.delSelected();"/>
  42.                </hbox>
  43.  
  44.                <hbox align="center" flex="1">
  45.                  <tree id="filterList" flex="1" width="375" height="170" seltype="multiple"
  46.                        enableColumnDrag="true" disableKeyNavigation="true" editable="true"
  47.                        onselect="gIeTab.updateDelButtonStatus();">
  48.                      <treecols>
  49.                          <treecol id="columnRule" label="&filter.column.rule;" flex="1" persist="width ordinal hidden"/>
  50.                          <splitter class="tree-splitter"/>
  51.                          <treecol id="columnEnabled" label="&filter.column.enabled;" flex="0" persist="width ordinal hidden" type="checkbox" editable="true"/>
  52.                      </treecols>
  53.                      <treechildren id="filterChilds" ondblclick="gIeTab.onClickFilterList(event);"/>
  54.                  </tree>
  55.                </hbox>
  56.  
  57.                <hbox align="center">
  58.                <label id="urllabel" value="&filter.url.label;"/>
  59.                   <textbox id="urlbox" flex="1"
  60.                      oninput="gIeTab.updateAddButtonStatus();"/>
  61.                   <button id="addbtn"
  62.                      label="&filter.button.add;"
  63.                      disabled="true"
  64.                      oncommand="gIeTab.addNewURL();"/>
  65.                </hbox>
  66.             </vbox>
  67.          </tabpanel>
  68.  
  69.          <tabpanel>
  70.             <vbox flex="1">
  71.                <groupbox><caption label="&interface.caption;"/>
  72.                   <hbox align="center">
  73.                   <checkbox label="&interface.toolsmenu;" id="toolsmenu"/>
  74.                   <checkbox label="&interface.toolsmenu.icon;" id="toolsmenu.icon" class="indent"/>
  75.                   </hbox>
  76.                   <hbox align="center">
  77.                   <checkbox label="&interface.statusbar;" id="statusbar"/>
  78.                   </hbox>
  79.                </groupbox>
  80.  
  81.                <groupbox><caption label="&switch.caption;"/>
  82.                   <hbox align="center">
  83.                   <checkbox label="&switch.handleurl;" id="handleurl"/>
  84.                   </hbox>
  85.                   <hbox align="center">
  86.                   <checkbox label="&switch.alwaysnew;" id="alwaysnew"/>
  87.                   </hbox>
  88.                   <hbox align="center">
  89.                   <checkbox label="&switch.focustab;" id="focustab"/>
  90.                   </hbox>
  91.                </groupbox>
  92.             </vbox>
  93.          </tabpanel>
  94.  
  95.          <tabpanel>
  96.             <vbox flex="1">
  97.                <groupbox><caption label="&context.caption.tabsmenu;"/>
  98.                   <hbox align="center">
  99.                      <checkbox label="&popup.tabbar.switch;" id="tabsmenu.embed"/>
  100.                      <checkbox label="&popup.tabbar.extapp;" id="tabsmenu.extapp"/>
  101.                      <checkbox label="&context.icon;" id="tabsmenu.icon"/>
  102.                   </hbox>
  103.                </groupbox>
  104.                <groupbox><caption label="&context.caption.pagelink;"/>
  105.                   <hbox align="center">
  106.                      <checkbox label="&popup.viewpage;" id="pagelink.embed"/>
  107.                      <checkbox label="&popup.viewpage.extapp;" id="pagelink.extapp"/>
  108.                      <checkbox label="&context.icon;" id="pagelink.icon"/>
  109.                   </hbox>
  110.                </groupbox>
  111.                <groupbox><caption label="&context.caption.bookmark;"/>
  112.                   <hbox align="center">
  113.                      <checkbox label="&popup.bookmark;" id="bookmark.embed"/>
  114.                      <checkbox label="&popup.bookmark.extapp;" id="bookmark.extapp"/>
  115.                      <checkbox label="&context.icon;" id="bookmark.icon"/>
  116.                   </hbox>
  117.                </groupbox>
  118.             </vbox>
  119.          </tabpanel>
  120.  
  121.          <tabpanel>
  122.             <vbox flex="1">
  123.                <groupbox><caption label="&external.caption;"/>
  124.                   <hbox align="center">
  125.                      <label value="&external.path.label;"/>
  126.                      <textbox id="pathbox" flex="1" readonly="true"/>
  127.                      <button id="browsebtn" label="&external.button.browse;"
  128.                         oncommand="gIeTab.browseAppPath();"/>
  129.                   </hbox>
  130.                   <hbox align="center">
  131.                      <label value="&external.param.label;"/>
  132.                      <textbox id="parambox" flex="1"/>
  133.                   </hbox>
  134.                   <hbox align="center">
  135.                      <checkbox label="&external.ctrlclick;" id="ctrlclick"/>
  136.                   </hbox>
  137.                </groupbox>
  138.                <spacer flex="1"/>
  139.                   <hbox align="center">
  140.                      <spacer flex="1"/>
  141.                      <button id="resetbtn" label="&external.button.reset;" flex="1"
  142.                         oncommand="gIeTab.resetAppPath();"/>
  143.                      <spacer flex="1"/>
  144.                   </hbox>
  145.                <spacer flex="1"/>
  146.             </vbox>
  147.          </tabpanel>
  148.       </tabpanels>
  149.    </tabbox>
  150.  
  151.    <hbox>
  152.       <button dlgtype="extra2" id="myExtra2" label="&settings.label;" popup="settings"/>
  153.       <spacer flex="1"/>
  154.       <button dlgtype="accept" id="myAccept"/>
  155.       <button dlgtype="extra1" id="myExtra1" label="&apply.label;"/>
  156.       <button dlgtype="cancel" id="myCancel"/>
  157.    </hbox>
  158.  
  159.    <popupset>
  160.       <popup id="settings" position="before_start">
  161.          <menuitem id="default" label="&settings.default;" oncommand="gIeTab.restoreDefault();"/>
  162.          <menuitem id="import"  label="&settings.import;"  oncommand="gIeTab.importSettings();"/>
  163.          <menuitem id="export"  label="&settings.export;"  oncommand="gIeTab.exportSettings();"/>
  164.       </popup>
  165.    </popupset>
  166.  
  167. </dialog>
  168.